package org.assocsp3.modele;

import java.util.Date;

public class Paiement{

     private int id;
     private int idAdherent;
     private int idActivite;
     private Activite activite;
     private int montant;
     private Date dateButoir;
     private boolean payee;
     
    public Paiement() {
    }

    public Paiement(int idAdherent, int idActivite, int montant, Date dateButoir, boolean payee) {
       this.idAdherent = idAdherent;
       this.idActivite = idActivite;
       this.montant = montant;
       this.dateButoir = dateButoir;
       this.setPayee(payee);
    }
   
    public Paiement(int idPersonne) {
    	this.idAdherent = idPersonne;
	}

	public int getId() {
        return this.id;
    }
    
    public void setId(int id) {
        this.id = id;
    }
    public int getIdAdherent() {
        return this.idAdherent;
    }
    
    public void setIdAdherent(int idAdherent) {
        this.idAdherent = idAdherent;
    }
    public int getIdActivite() {
        return this.idActivite;
    }
    
    public void setIdActivite(int idActivite) {
        this.idActivite = idActivite;
    }
    public int getMontant() {
        return this.montant;
    }
    
    public void setMontant(int montant) {
        this.montant = montant;
    }

	public void setPayee(boolean payee) {
		this.payee = payee;
	}

	public boolean isPayee() {
		return payee;
	}

	public Date getDateButoir() {
        return this.dateButoir;
    }
    
    public void setDateButoir(Date dateButoir) {
        this.dateButoir = dateButoir;
    }

	public void setActivite(Activite a) {
		this.activite = a;
	}

	public Activite getActivite() {
		return activite;
	}

}


